#####################################################################################################################
#### Replication files for Clarke, "Revolutionary Violence and Counterrevolution," American Political Science Review
#####################################################################################################################

######################
## Documentation:
######################

The replication archive includes the following documentation files:
1. this readme.txt file
2. the article appendix, which includes explanations of variables and their sources, descriptive statistics, and robustness tests
3. data dictionary, to explain variable names and sources

#######################
## Data:
#######################

The replication archive includes one dataset: "counterrev.csv"

######################
## Code:
######################

The replication archive includes one R script: "counterrev.R" 
This script includes code for data cleaning and transformations, all statistical analyses in the paper and supplemental appendices, and all figures

######################
## Software:
######################

All data analyses in this article were carried out using R version 4.1.1.

The following R packages were used in the supporting scripts:
brglm
lmtest
sandwich
margins
ggplot2
extrafont

